package edu.nbut.hotel.model.dao;

import edu.nbut.hotel.model.entity.pojo.Room;
import edu.nbut.hotel.model.enums.RoomStatus;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RoomDao {
    List<Room> queryAll();
    Room queryById();
    List<Room> queryByNumber(String roomNumber);
    List<Room> queryByRoomType(String RoomType);
    List<Room> queryByRoomPosition(String position);
    List<Room> queryByRoomStatus(RoomStatus roomStatus);
    boolean addRoom(Room room);
    boolean updateRoom(Room room);
    boolean deleteRoomById(int id);
}
